import json

# 读取JSONL文件
with open(r'C:\Users\Administrator\Downloads\\Branch #440 - 2025-03-11@10h49m36s.jsonl', 'r', encoding='utf-8') as file:
    lines = file.readlines()

# 修改每行的is_system字段为false
modified_lines = []
for line in lines:
    data = json.loads(line)
    data['is_system'] = False
    modified_lines.append(json.dumps(data, ensure_ascii=False) + '\n')

# 将修改后的内容写回文件
with open(r'C:\Users\Administrator\Downloads\\Branch #440 - 2025-03-11@10h49m36s1.jsonl', 'w', encoding='utf-8') as file:
    file.writelines(modified_lines)